package com.raja.servingStation.entity;

import java.util.Date;
import java.util.List;

public class Notice {
    /**
     * 
     */
    private Long id;

    /**
     * 公文标题
     */
    private String title;

    /**
     * 公文内容
     */
    private String content;

    /**
     * 发布日期
     */
    private Date publishDate;

    /**
     * 发布人ID
     */
    private Long publisherId;

    /**
     * 删除标记：0正常 1删除
     */
    private Byte flag;



//    private String publishDate2;
    private String publisher;
    private String headimg;

    private List<NoticeAttach> noticeAttachs;

    private int notSendingNum;//1、未发送
    private int sendingNum;//发送总数：2、发送未读+3、发送已读
    private int sendingAndNotReadingNum;//2、发送未读

    public int getNotSendingNum() {
        return notSendingNum;
    }

    public void setNotSendingNum(int notSendingNum) {
        this.notSendingNum = notSendingNum;
    }

    public int getSendingNum() {
        return sendingNum;
    }

    public void setSendingNum(int sendingNum) {
        this.sendingNum = sendingNum;
    }

    public int getSendingAndNotReadingNum() {
        return sendingAndNotReadingNum;
    }

    public void setSendingAndNotReadingNum(int sendingAndNotReadingNum) {
        this.sendingAndNotReadingNum = sendingAndNotReadingNum;
    }

    public List<NoticeAttach> getNoticeAttachs() {
        return noticeAttachs;
    }

    public void setNoticeAttachs(List<NoticeAttach> noticeAttachs) {
        this.noticeAttachs = noticeAttachs;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    /**
     * 
     * @return ID 
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 公文标题
     * @return TITLE 公文标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 公文标题
     * @param title 公文标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 公文内容
     * @return CONTENT 公文内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 公文内容
     * @param content 公文内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 发布日期
     * @return PUBLISH_DATE 发布日期
     */
    public Date getPublishDate() {
        return publishDate;
    }

    /**
     * 发布日期
     * @param publishDate 发布日期
     */
    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    /**
     * 发布人ID
     * @return PUBLISHER_ID 发布人ID
     */
    public Long getPublisherId() {
        return publisherId;
    }

    /**
     * 发布人ID
     * @param publisherId 发布人ID
     */
    public void setPublisherId(Long publisherId) {
        this.publisherId = publisherId;
    }

    /**
     * 删除标记：0正常 1删除
     * @return FLAG 删除标记：0正常 1删除
     */
    public Byte getFlag() {
        return flag;
    }

    /**
     * 删除标记：0正常 1删除
     * @param flag 删除标记：0正常 1删除
     */
    public void setFlag(Byte flag) {
        this.flag = flag;
    }
}